# -*- coding: utf-8 -*-
# !/usr/bin/env python
from rest_framework.views import APIView
from general.sys_code import get_syscode_father_child
from utils.views import Result

class GetInstallConfs(APIView):
    def get(self, request):
        data = request.query_params

        syscode_father_child_data = get_syscode_father_child(data['sys_code_type'])
        return Result.success_response(data=syscode_father_child_data, msg='查询成功')